package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.GoodsCommentPicDAO;
import top.zywork.dos.GoodsCommentPicDO;
import top.zywork.dto.GoodsCommentPicDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.GoodsCommentPicService;

import javax.annotation.PostConstruct;

/**
 * GoodsCommentPicServiceImpl服务接口实现类<br/>
 *
 * 创建于2019-07-29<br/>
 *
 * @author http://zywork.top 危锦辉
 * @version 1.0
 */
@Service(value = "goodsCommentPicService")
public class GoodsCommentPicServiceImpl extends AbstractBaseService implements GoodsCommentPicService {

    private GoodsCommentPicDAO goodsCommentPicDAO;

    @Autowired
    public void setGoodsCommentPicDAO(GoodsCommentPicDAO goodsCommentPicDAO) {
        super.setBaseDAO(goodsCommentPicDAO);
        this.goodsCommentPicDAO = goodsCommentPicDAO;
    }

    @PostConstruct
    public void init() {
        super.init(GoodsCommentPicDO.class, GoodsCommentPicDTO.class);
    }
}
